const getters = {
  // app上的设置
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  // 多页面tab
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  // 用户基本信息
  token: state => state.user.token,
  avatarUrl: state => process.env.API_BASEURL + state.user.avatarUrl,
  username: state => state.user.username,
  userRoles: state => state.user.userRoles,
  password: state => state.user.password,
  age: state => state.user.age,
  sex: state => state.user.sex,
  education: state => state.user.education,
  phoneNumber: state => state.user.phoneNumber,
  email: state => state.user.email,
  address: state => state.user.address,
  birth: state => state.user.birth,
  position: state => state.user.position,
  entryDate: state => state.user.entryDate,
  role: state => state.role.role,
  description: state => state.role.description,
  rolePermission: state => state.role.rolePermission,
  permission_routers: state => state.permission.routers,
  addRouters: state => state.permission.addRouters,
  isLock: state => state.user.isLock,
  lockPasswd: state => state.user.lockPasswd
}
export default getters
